<h3> List of Records already entered (click on the row to edit )</h3> 
</form>
<form id="updateForm" name="updateForm" action="update_records.php" > 

<table class="ltGreydkGreyBorder" width="80%"> 
<tr>
 <td colspan="5"> <img src="images/arrow_down.png"> 
<a href="#" onclick="checkAll('updateForm', 'checkid[]', true);"> <b> Check All </b> </a> 
&middot; 
 <a href="#" onclick="checkAll('updateForm', 'checkid[]', false);"> <b> Uncheck All </b> </a> 
</td> 
</tr>  

<tr>
 <th width="10%" class="ltBlueformHeader"> Action </th> 
 <th class="ltBlueformHeader"> Record Type </th>
 <th width="10%" class="ltBlueformHeader"> Priority </th> 
 <th class="ltBlueformHeader"> HostName </th> 
 <th class="ltBlueformHeader"> Ip Address </th> 
</tr>
{section name="oldRecords" loop="$dnsRecords"}
<tr bgcolor="{cycle values="#eeeeee,#d0d0d0" }"> 
<td width="10%"> 
<input type="checkbox" name="checkid[]" value="{$dnsRecords[oldRecords].record_id}"> &middot; 

<a href="update_records.php?action=edit&id={$dnsRecords[oldRecords].record_id}" title="Edit Record" > <img src="images/stock_edit.png" border=0></a> 
&middot; 
<a href="update_records.php?action=delete&id={$dnsRecords[oldRecords].record_id}" title="Delete Record" onClick="return confirmDelete();"> <img src="images/stock_delete.png" border=0> </a> 
</tD> 
<td >{$dnsRecords[oldRecords].rtype}
</td>
<td width="10%"> {$dnsRecords[oldRecords].priority} </td> 
<td><div id="oldhostname{$smarty.section.oldRecords.index}">
 {$dnsRecords[oldRecords].hostname}</div> </td> 
<td> 
<div id="hostip{$smarty.section.oldRecords.index}" > 
{$dnsRecords[oldRecords].hostip} </div></tD> 
</tr>
{/section} 
<tr bgcolor="#CCCCCC">
<td colspan="1" valign="top"> <img src="images/arrow_up.png"> <a href="#" onclick="checkAll('updateForm', 'checkid[]', true);"> <b> Check All </b></a> &middot; 
<a href="#" onclick="checkAll('updateForm', 'checkid[]', false);"> <b> Uncheck All </b> </a> </td> 
<td align="center"> <input type="image" name="action" value="deletemultiple" title="Delete Records" onClick="return confirmDelete();" src="images/stock_delete.png" border=0> </a> </td>
<td>  Change IP to : </tD> <tD> <input type="text" class="TextBox" name="newmultipleip"> </td>
<td> <input type="submit" class="loginButton" name="action" value="Change IPs"> </td>    
 
</tr>  




</table>
</form> 

